[Custom scalars] Implement scalar option in field policies with cache reads - #13258
[Custom scalars] Implement scalar option in field policies with cache reads#13258jerelmiller wants to merge 32 commits into
scalar option in field policies with cache reads#13258Conversation
✅ Docs preview readyThe preview is ready to be viewed. View the preview File Changes 0 new, 3 changed, 0 removedBuild ID: 43878d757ec32f261464ed6b URL: https://www.apollographql.com/docs/deploy-preview/43878d757ec32f261464ed6b ✅ AI Style Review — No Changes DetectedNo MDX files were changed in this pull request. Review Log: View detailed log
|
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. 🗂️ Base branches to auto review (1)
Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Repository UI (base), Organization UI (inherited) Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
🦋 Changeset detectedLatest commit: 1ed51e1 The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
commit: |
scalar option in field policies with cache readsscalar option in field policies with cache reads
scalar option in field policies with cache readsscalar option in field policies with cache reads
|
Closing in favor of #13259 which incorporates these changes along with cache writes. We are going to change cache writes to store the parsed value rather than the serialized value which negates some of the changes in this PR, so it will be combined for better clarity. |
Part of the custom scalars work: #13227
Adds the
scalaroption for field policies so that fields can specify which scalar to use. This change also implements scalar parsing for cache reads so thatcache.readQuery,cache.readFragment, andcache.watchFragmentall return the parsed scalar values for fields that specify a scalar.